package com.jumi.microservice.interfaces;

import com.jumi.microservice.common.base.dto.BaseRequest;
import com.jumi.microservice.common.base.dto.BaseResponse;

/**
 * @author Dirk
 * @Date 2020-07-20 11:57
 */
public interface Payment {

    /**
     * 交易执行过程
     *
     * @param request
     * @return
     */
    BaseResponse process(BaseRequest request);

    /**
     * 完成支付，结果处理
     *
     * @param request
     * @return
     */
    BaseResponse completePayment(BaseRequest request);
}
